package com.example.controller;

import com.example.request.XiaoLiuRenRequest;
import com.example.services.TaoistsService;
import com.example.util.Result;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;

@RestController()
public class TaoistsController {

    @Resource
    TaoistsService taoistsService;

    @PostMapping(value = "/taoists/xlr")
    @ResponseBody
    @CrossOrigin
    public Result getXiaoLiuRen(@RequestBody XiaoLiuRenRequest xiaoLiuRenRequest) {
        return taoistsService.getXiaoLiuRen(xiaoLiuRenRequest);
    }
}
